package com.konjac.controller;

import com.konjac.dto.LoginDto;
import com.konjac.dto.SaleOrderDto;
import com.konjac.pojo.SaleOrder;
import com.konjac.pojo.ServiceState;
import com.konjac.service.impl.UserServiceImpl;
import org.springframework.web.bind.annotation.*;

import java.io.IOException;

@RestController

public class TestController {
    @RequestMapping("/test")
    @ResponseBody
    public ServiceState signIn(SaleOrderDto form) {
        ServiceState serviceState = new ServiceState();
        UserServiceImpl userService = new UserServiceImpl();
        System.out.println(form);

        return serviceState;
    }
}
